package cn.gson.crm.controller;

import cn.gson.crm.model.pojos.Shuliang;
import cn.gson.crm.model.service.FollowService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

@Controller
@RequestMapping("/Follow")
public class FollowContract {
    @Autowired
    FollowService followService;

    @RequestMapping("/selectfollow")
    @ResponseBody
    public List<Shuliang> selectfollow(){
        return followService.selectfollow();
    }
}
